package com.example.springinterceptersample

import com.example.springinterceptersample.Car
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.JpaSpecificationExecutor
import org.springframework.stereotype.Repository
import java.io.Serializable

/**
 * 使用jpa来操作数据库
 */
interface CarJpaRepository: JpaRepository<Car, Long>,JpaSpecificationExecutor<Car>,Serializable{
}